/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.on.clinical.view;

import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuItem;

/**
 *
 * @author Raphael
 */
public class ViewTelaPrincipal extends javax.swing.JDialog {

    /**
     * Creates new form ViewTelaPrincipal
     */
    public ViewTelaPrincipal(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
                        
    }

    public JMenuItem getMenuInformacao() {
        return menuInformacao;
    }
    
    public JMenu getMenuCadastro() {
        return menuCadastro;
    }

    public JLabel getLogoClinical() {
        return logoClinical;
    }

    public JMenu getMenuConfiguracao() {
        return menuConfiguracao;
    }

    public JMenu getMenuGerenciamento() {
        return menuGerenciamento;
    }

    public JMenu getMenuServico() {
        return menuServico;
    }

    public JMenu getMenuVisualizacao() {
        return menuVisualizacao;
    }

    public JMenuItem getMenuMedico() {
        return menuMedico;
    }

    
    public JMenuItem getMenuSair() {
        return menuSair;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        logoClinical = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        menuCadastro = new javax.swing.JMenu();
        menuMedico = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();
        menuSair = new javax.swing.JMenuItem();
        menuVisualizacao = new javax.swing.JMenu();
        jMenuItem5 = new javax.swing.JMenuItem();
        jMenuItem6 = new javax.swing.JMenuItem();
        jMenuItem7 = new javax.swing.JMenuItem();
        menuGerenciamento = new javax.swing.JMenu();
        jMenuItem10 = new javax.swing.JMenuItem();
        jMenuItem11 = new javax.swing.JMenuItem();
        jMenuItem12 = new javax.swing.JMenuItem();
        menuServico = new javax.swing.JMenu();
        jMenuItem13 = new javax.swing.JMenuItem();
        jMenuItem4 = new javax.swing.JMenuItem();
        menuConfiguracao = new javax.swing.JMenu();
        menuInformacao = new javax.swing.JMenuItem();

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setUndecorated(true);

        jPanel2.setBackground(new java.awt.Color(228, 243, 243));

        logoClinical.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/on/clinical/imagens/Logo_clinical_PNG_Medio.png"))); // NOI18N

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addContainerGap(510, Short.MAX_VALUE)
                .addComponent(logoClinical, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addContainerGap(450, Short.MAX_VALUE)
                .addComponent(logoClinical)
                .addContainerGap())
        );

        jMenuBar1.setFont(new java.awt.Font("Segoe UI", 0, 14)); // NOI18N
        jMenuBar1.setPreferredSize(new java.awt.Dimension(268, 30));

        menuCadastro.setText("Cadastro");

        menuMedico.setText("Médico");
        menuCadastro.add(menuMedico);

        jMenuItem2.setText("Paciente");
        menuCadastro.add(jMenuItem2);

        jMenuItem3.setText("Funcionário");
        menuCadastro.add(jMenuItem3);

        menuSair.setText("Sair");
        menuCadastro.add(menuSair);

        jMenuBar1.add(menuCadastro);

        menuVisualizacao.setText("Visualização");

        jMenuItem5.setText("Médicos");
        menuVisualizacao.add(jMenuItem5);

        jMenuItem6.setText("Pacientes");
        menuVisualizacao.add(jMenuItem6);

        jMenuItem7.setText("Funcionário");
        menuVisualizacao.add(jMenuItem7);

        jMenuBar1.add(menuVisualizacao);

        menuGerenciamento.setText("Gerenciamento");

        jMenuItem10.setText("Agenda");
        menuGerenciamento.add(jMenuItem10);

        jMenuItem11.setText("Consultas");
        menuGerenciamento.add(jMenuItem11);

        jMenuItem12.setText("Exames");
        menuGerenciamento.add(jMenuItem12);

        jMenuBar1.add(menuGerenciamento);

        menuServico.setText("Serviços");

        jMenuItem13.setText("ACID");
        menuServico.add(jMenuItem13);

        jMenuItem4.setText("Relatórios");
        menuServico.add(jMenuItem4);

        jMenuBar1.add(menuServico);

        menuConfiguracao.setText("Configurações");

        menuInformacao.setText("Informações da Clínica");
        menuConfiguracao.add(menuInformacao);

        jMenuBar1.add(menuConfiguracao);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(ViewTelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(ViewTelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(ViewTelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(ViewTelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the dialog */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                ViewTelaPrincipal dialog = new ViewTelaPrincipal(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    @Override
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem10;
    private javax.swing.JMenuItem jMenuItem11;
    private javax.swing.JMenuItem jMenuItem12;
    private javax.swing.JMenuItem jMenuItem13;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JMenuItem jMenuItem5;
    private javax.swing.JMenuItem jMenuItem6;
    private javax.swing.JMenuItem jMenuItem7;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JLabel logoClinical;
    private javax.swing.JMenu menuCadastro;
    private javax.swing.JMenu menuConfiguracao;
    private javax.swing.JMenu menuGerenciamento;
    private javax.swing.JMenuItem menuInformacao;
    private javax.swing.JMenuItem menuMedico;
    private javax.swing.JMenuItem menuSair;
    private javax.swing.JMenu menuServico;
    private javax.swing.JMenu menuVisualizacao;
    // End of variables declaration//GEN-END:variables
}
